package Q1;

//自定义年龄异常

public class AgeException extends Exception {
    static final long serialVersionUID = -3387516993124229948L;
    //创造无参由有参构造
    public AgeException() {
    }

    public AgeException(String message) {
        super(message);
    }
}
